package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.CenterAdminRoles;
import com.woniuxy.common.entity.CenterAdminRolesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CenterAdminRolesMapper {
    long countByExample(CenterAdminRolesExample example);

    int deleteByExample(CenterAdminRolesExample example);

    int deleteByPrimaryKey(Long roleId);

    int insert(CenterAdminRoles record);

    int insertSelective(CenterAdminRoles record);

    List<CenterAdminRoles> selectByExample(CenterAdminRolesExample example);

    CenterAdminRoles selectByPrimaryKey(Long roleId);

    int updateByExampleSelective(@Param("record") CenterAdminRoles record, @Param("example") CenterAdminRolesExample example);

    int updateByExample(@Param("record") CenterAdminRoles record, @Param("example") CenterAdminRolesExample example);

    int updateByPrimaryKeySelective(CenterAdminRoles record);

    int updateByPrimaryKey(CenterAdminRoles record);
}
